libxl: Open code rw and ro node creation.
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Dec 2011 14:54:13 +0000 (14:54 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Dec 2011 14:54:13 +0000 (14:54 +0000)
commite77389f81686ebdea2d65206148c18b8da90c3f0
treeb0f64166c002c4574cc137b6708562b7d0c2064f
parent2b82a7ad971a4293eea97d74d09bbc86ae4ec534
libxl: Open code rw and ro node creation.

Use a new libxl__xs_mkdir() to do this and also clean up extraneous
node creation while in the neighbourhood. Checking 'xenstore-ls -fp'
output before and after shows that, as well as the disappearance of
error, drivers, messages and domid, the following perms change is also
present:

-device/suspend = ""   (ndomU)
+device/suspend = ""   (n0,rdomU)

I believe the new perms are more desirable than the old ones.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_create.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_xshelp.c